home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2001 August
/
PCWorld_2001-08_cd.bin
/
Software
/
Vyzkuste
/
codePad
/
CodePad30.exe
/
Code Templates
/
cppbuilder.tpl
/
cppbuilder.txt
Wrap
Text File
|
2000-01-03
|
3KB
|
174 lines
object TPersHolder
P = <
item
Name = 'classc'
Description = 'class declaration (with constructor/destructor)'
Code.Strings = (
'class T| : public T'
'{'
'private:'
''
'protected:'
''
'public:'
' __fastcall T();'
' __fastcall ~T();'
'__published:'
''
'};')
end
item
Name = 'classd'
Description = 'class declaration (no parts)'
Code.Strings = (
'class T| : public T'
'{'
'};')
end
item
Name = 'classf'
Description = 'class declaration (all parts)'
Code.Strings = (
'class T| : public T'
'{'
'private:'
''
'protected:'
''
'public:'
''
'__published:'
''
'};')
end
item
Name = 'forb'
Description = 'for statement'
Code.Strings = (
'for (|; ;)'
'{'
''
'}')
end
item
Name = 'fors'
Description = 'for (no opening/closing braces)'
Code.Strings = (
'for (|; ;)')
end
item
Name = 'function'
Description = 'function declaration'
Code.Strings = (
'|()'
'{'
''
'}')
end
item
Name = 'ifb'
Description = 'if statement'
Code.Strings = (
'if (|)'
'{'
''
'}')
end
item
Name = 'ife'
Description = 'if (no opening/closing braces) else (no opening/closing braces)'
Code.Strings = (
'if (|)'
''
'else')
end
item
Name = 'ifeb'
Description = 'if else'
Code.Strings = (
'if (|)'
'{'
''
'}'
'else'
'{'
''
'}')
end
item
Name = 'ifs'
Description = 'if (no opening/closing braces)'
Code.Strings = (
'if (|)')
end
item
Name = 'struct'
Description = 'structure declaration'
Code.Strings = (
'struct |'
'{'
'};')
end
item
Name = 'switche'
Description = 'switch statement (with default)'
Code.Strings = (
'switch (|)'
'{'
' case : ;'
' break;'
' case : ;'
' break;'
'}')
end
item
Name = 'switchs'
Description = 'switch statement'
Code.Strings = (
'switch (|)'
'{'
' case : ;'
' break;'
' case : ;'
' break;'
' default: ;'
'}')
end
item
Name = 'templ'
Description = 'template class declaration'
Code.Strings = (
'template <class T>'
'class |'
'{'
'};')
end
item
Name = 'trye'
Description = 'try catch'
Code.Strings = (
'try'
'{'
' |'
'}'
'catch()'
'{'
'}')
end
item
Name = 'whileb'
Description = 'while statement'
Code.Strings = (
'while (|)'
'{'
''
'}')
end
item
Name = 'whiles'
Description = 'while (no opening/closing braces)'
Code.Strings = (
'while (|)')
end>
end